/*
 * Created on 2006-2-27
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.hitrust.gs.vo;

import com.hitrust.gs.service.GSBaseBean;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author simonyi
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class GSDeliverOrderManufactureVO implements GSBaseBean{

    public String manufactureId;
    public String manufactureName;
    public String contentricityId;
    public String orderCount;
    public String manufacturerName;
    public String manufactureSpec;
    public String manufactureType;
    public String manufactrueBrand;
    public String quantUnit;
    public double unitPrice;
    public String orderTempId;
    public String orderDetailId;

    public String deliverGoodsId;
    public String providerId ;
    public String providerName; 
    public String detailStatus;
    public double goodunitprice;
    public String signinDate;
    public String signinPerson;

    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSDeliverOrderManufactureVO vo = new  GSDeliverOrderManufactureVO();
    	vo.setManufactureId(aResultSet.getString("P1"));
    	vo.setManufactureName(aResultSet.getString("P2"));
    	vo.setContentricityId(aResultSet.getString("P3"));
    	vo.setOrderCount(Double.toString(aResultSet.getDouble("P4")));
    	vo.setManufacturerName(aResultSet.getString("P5"));
    	vo.setManufactureSpec(aResultSet.getString("P6"));
    	vo.setManufactureType(aResultSet.getString("P7"));
    	vo.setManufactrueBrand(aResultSet.getString("P8"));
    	vo.setQuantUnit(aResultSet.getString("P9"));
    	vo.setUnitPrice(aResultSet.getDouble("P10"));
    	vo.setOrderDetailId(aResultSet.getString("P11"));
    	vo.setOrderTempId(aResultSet.getString("P12"));
        vo.deliverGoodsId = aResultSet.getString("P13");
    	vo.setProviderId(aResultSet.getString("P14"));
    	vo.setProviderName(aResultSet.getString("P15"));
    	vo.detailStatus = aResultSet.getString("P16");
    	vo.signinDate = aResultSet.getString("P17");
    	vo.signinPerson = aResultSet.getString("P18");

    	return vo;

    }

    public String getContentricityId() {
        return contentricityId;
    }
    public void setContentricityId(String contentricityId) {
        this.contentricityId = contentricityId;
    }
    public String getDeliverGoodsId() {
        return deliverGoodsId;
    }
    public void setDeliverGoodsId(String deliverGoodsId) {
        this.deliverGoodsId = deliverGoodsId;
    }
    public String getDetailStatus() {
        return detailStatus;
    }
    public void setDetailStatus(String detailStatus) {
        this.detailStatus = detailStatus;
    }
    public double getGoodunitprice() {
        return goodunitprice;
    }
    public void setGoodunitprice(double goodunitprice) {
        this.goodunitprice = goodunitprice;
    }
    public String getManufactrueBrand() {
        return manufactrueBrand;
    }
    public void setManufactrueBrand(String manufactrueBrand) {
        this.manufactrueBrand = manufactrueBrand;
    }
    public String getManufactureId() {
        return manufactureId;
    }
    public void setManufactureId(String manufactureId) {
        this.manufactureId = manufactureId;
    }
    public String getManufactureName() {
        return manufactureName;
    }
    public void setManufactureName(String manufactureName) {
        this.manufactureName = manufactureName;
    }
    public String getManufacturerName() {
        return manufacturerName;
    }
    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }
    public String getManufactureSpec() {
        return manufactureSpec;
    }
    public void setManufactureSpec(String manufactureSpec) {
        this.manufactureSpec = manufactureSpec;
    }
    public String getManufactureType() {
        return manufactureType;
    }
    public void setManufactureType(String manufactureType) {
        this.manufactureType = manufactureType;
    }
    public String getOrderCount() {
        return orderCount;
    }
    public void setOrderCount(String orderCount) {
        this.orderCount = orderCount;
    }
    public String getOrderDetailId() {
        return orderDetailId;
    }
    public void setOrderDetailId(String orderDetailId) {
        this.orderDetailId = orderDetailId;
    }
    public String getOrderTempId() {
        return orderTempId;
    }
    public void setOrderTempId(String orderTempId) {
        this.orderTempId = orderTempId;
    }
    public String getProviderId() {
        return providerId;
    }
    public void setProviderId(String providerId) {
        this.providerId = providerId;
    }
    public String getProviderName() {
        return providerName;
    }
    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }
    public String getQuantUnit() {
        return quantUnit;
    }
    public void setQuantUnit(String quantUnit) {
        this.quantUnit = quantUnit;
    }
    public double getUnitPrice() {
        return unitPrice;
    }
    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }
}
